﻿//using Coolzon.UI.Core.Runtime;
//using System;
//using System.Collections.Generic;
//using System.Linq;
//using System.Runtime.InteropServices;
//using System.Text;
//using System.Threading.Tasks;

//namespace Coolzon.UI.Core
//{
//    public partial class Area
//    {
//        public override void LoadViewState(ViewState viewState)
//        {
//            #region load sub part viewstate
//            for (int index = 0; index < this._partCollection.Count; index++)
//            {
//                this._partCollection[index].LoadViewState(viewState);
//            }
//            #endregion
//        }

//        public override void SaveViewState(ViewState viewState)
//        {
//            #region save sub part viewstate
//            for (int index = 0; index < this._partCollection.Count; index++)
//            {
//                Part subPart = this._partCollection[index];
//                subPart.SaveViewState(viewState);
//            }
//            #endregion
//        }
//    }
//}
